<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CSN</title>
<link href="<s:url value='/css/layout.css'/>" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="<s:url value='/js/html/Left.js'/>"></script>
</head>
<body class="menubg">



<div class="left_menu">

<div class="menutitle" onclick="SwitchMenu(888)" id="imgmenu888">欢迎登录</div>
<ul class="submenu" id="sub888" style="display:block;">
	<li><s:property value="#session.youth_user_123456789" /></li>		
	<!--
	<li><s:property value="user.employeeNo"/></li>
	<li><s:property value="user.BranchName"/></li>
	<li><s:property value="user.GroupName"/></li>
	<li><s:property value="user.SelectedRole.RoleName"/></li>
	-->
	<s:url var="Logout" action="Logout"/>
	<li><a href="<s:property value='Logout'/>">退出系统</a></li>		
</ul>


<!-- 
<div class="menutitle" onclick="SwitchMenu(11)" id="imgmenu11">个人工作台</div>
<ul class="submenu" id="sub11" style="display:none;">
-->
	
	
<div class="menutitle" onclick="SwitchMenu(1)" id="imgmenu1">资源管理</div>
<ul class="submenu" id="sub1" style="display:none;">
	<s:url var="CategoryList" action="CategoryList"/>
	<s:if test="%{isUrlInPermissions(#CategoryList, true)}">
	<li><a href="<s:property value='CategoryList'/>" target="mainWin">资源分类查询</a></li>
	</s:if>
	<s:url var="CategoryEdit" action="CategoryEdit"/>
	<s:if test="%{isUrlInPermissions(#CategoryEdit, true)}">
	<li><a href="<s:property value='CategoryEdit'/>" target="mainWin">新增资源分类</a></li>
	</s:if>
	<s:url var="ResourceList" action="ResourceList"/>
	<s:if test="%{isUrlInPermissions(#ResourceList, true)}">
	<li><a href="<s:property value='ResourceList'/>" target="mainWin">资源管理</a></li>
	</s:if>
	<s:url var="FileUpload" action="FileUpload"/>
	<s:if test="%{isUrlInPermissions(#FileUpload, true)}">
	<li><a href="<s:property value='FileUpload'/>" target="mainWin">文件上传</a></li>
	</s:if>
	<s:url var="ResourceAudit" action="ResourceAuditHome"/>
	<s:if test="%{isUrlInPermissions(#ResourceAudit, true)}">
	<li><a href="<s:property value='ResourceAudit'/>" target="mainWin">资源审核</a></li>
	</s:if>
</ul>

<div class="menutitle" onclick="SwitchMenu(2)" id="imgmenu2">系统管理</div>
<ul class="submenu" id="sub2" style="display:none;">
	<s:url var="NoticeList" action="NoticeList"/>
	<s:if test="%{isUrlInPermissions(#NoticeList, true)}">
	<li><a href="<s:property value='NoticeList'/>" target="mainWin">公告管理</a></li>
	</s:if>
	<s:url var="PermissionList" action="PermissionList"/>
	<s:if test="%{isUrlInPermissions(#PermissionList, true)}">
	<li><a href="<s:property value='PermissionList'/>" target="mainWin">权限管理</a></li>
	</s:if>
	<s:url var="RoleList" action="RoleList"/>
	<s:if test="%{isUrlInPermissions(#RoleList, true)}">
	<li><a href="<s:property value='RoleList'/>" target="mainWin">角色管理</a></li>
	</s:if>
	<s:url var="UserList" action="UserList"/>
	<s:if test="%{isUrlInPermissions(#UserList, true)}">
	<li><a href="<s:property value='UserList'/>" target="mainWin">用户管理</a></li>
	</s:if>
	<s:url var="GoPasswordPage" action="GoPasswordPage"/>
	<s:if test="%{isUrlInPermissions(#GoPasswordPage, true)}">
	<li><a href="<s:property value='GoPasswordPage'/>" target="mainWin">修改密码</a></li>
	</s:if>
	<s:url var="ResetPassword" action="ResetPassword"/>
	<s:if test="%{isUrlInPermissions(#ResetPassword, true)}">
	<li><a href="<s:property value='ResetPassword'/>" target="mainWin">重置用户密码</a></li>
	</s:if>
	<s:url var="SysConfigList" action="SysConfigList"/>
	<s:if test="%{isUrlInPermissions(#SysConfigList, true)}">
	<li><a href="<s:property value='SysConfigList'/>" target="mainWin">全局变量管理</a></li>
	</s:if>
</ul>
</div>
</body>
</html>
